<?php
return CMap::mergeArray(
    require(dirname(__FILE__) . '/main.php'),
    array(
        'components' => array(
            // uncomment the following to enable URLs in path-format
            'urlManager' => array(
                'urlFormat' => 'path',
                'showScriptName' => false,
                'urlSuffix' => '.html',
                'rules'     => array(
                    'dang-nhap' => 'user/loginForm',
                    'dang-xuat' => 'user/logout',
                ),
            ),
            'user'=>array(
                'loginUrl'=>array('user/loginForm'),
                'allowAutoLogin'=>true,
            ),
        ),
    )
);
